package com.cssl.gulimall.order.feign;

import com.cssl.common.vo.order.MemberAddressVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 会员系统
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {
    /**
     * 查询当前用户的全部收获地址
     */
    @GetMapping("/member/memberreceiveaddress/{memberId}/address")
    List<MemberAddressVO> getAddress(@PathVariable("memberId") Long memberId);

}
